package com.itmatter.classifier;

import java.io.Serializable;
import java.util.Set;

/**
 * Based on initial work from ci-bayes-2.1.0-SNAPSHOT-sources
 * @author Daniel Fisla, dfisla@itmatter.com, ITMATTER Inc., http://www.itmatter.com, Copyright 2010, LGPLv3
 */
public interface DBClassifier extends Serializable {

    public double getFeatureProbability(String feature, String category);

    public double getWeightedFeatureProbability(String feature, String category);

    public Set<String> getCategories();

    public void train(Object item, String category);

    public void deleteAllData();
}
